package com.zoffy.wmsbackend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zoffy.wmsbackend.common.RequestParam;
import com.zoffy.wmsbackend.model.dto.stockin.StockInOrderDto;
import com.zoffy.wmsbackend.model.dto.stockin.StockInDTO;
import com.zoffy.wmsbackend.model.entity.StockInOrder;
import com.zoffy.wmsbackend.model.vo.stock.stockIn.StockInOrderDetailsVo;
import com.zoffy.wmsbackend.model.vo.stock.stockIn.StockInOrderVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
* @author 86170
* @description 针对表【stock_in_order(入存表)】的数据库操作Service
* @createDate 2025-01-02 01:34:40
*/
public interface StockInOrderService extends IService<StockInOrder> {
    Boolean stockIn(StockInDTO stockInDTO);
    Boolean importStockIn(MultipartFile file) throws IOException;
    Page<StockInOrderVo> listStockInOrderVoByPage(RequestParam<StockInOrderDto> requestParam);
    Boolean approval(Long stockInId);
    StockInOrderDetailsVo getDetailsById(Long stockInId);
}
